package com.qzd.strategy;

public class Test {
    /**
     * 策略模式
     * @param args
     */
    public static void main(String[] args) {
        String keys="formula01";
        Formula instance = FormulaFactory.getInstance(keys);
        instance.getname();
    }
}
